{if $tags}
    <ul class="tags">
    {assign var="version" value=""}
    {assign var="copyright" value=""}
    {assign var="authornum" value="0"}
    {assign var="oneauthor" value=""}

    {section name=tag loop=$tags}
        {if $tags[tag].keyword eq "version"}{assign var="version" value=$tags[tag].data}{/if}
        {if $tags[tag].keyword eq "copyright"}{assign var="copyright" value=$tags[tag].data}{/if}
        {if $tags[tag].keyword eq "author"}
        {math equation="x + 1" x=$authornum assign="authornum"}
        {assign var="oneauthor" value=$tags[tag].data}
        {/if}
    {/section}
    
    {if $authornum == 1}
    <li class="infoText author">Author: {$oneauthor}</li>
    {elseif $authornum > 1}
    <li class="infoText authors">Authors:
    <ul class="tags">
    {section name=tag loop=$tags}
    {if $tags[tag].keyword eq "author"}<li class="infoText author">{$tags[tag].data}</li>{/if}
    {/section}
    </ul>
    </li>
    {/if}
    

    {if $version}
    <li class="infoText version">Version: {$version}</li>
    {/if}

    {if $copyright}
    <li class="infoText version">Copyright: {$copyright}</li>
    {/if}

        {section name=tags loop=$tags}
        {if $tags[tags].keyword == 'author'}
        {elseif $tags[tags].keyword == 'property-read'}
        {elseif $tags[tags].keyword == 'abstract'}
        {elseif $tags[tags].keyword == 'todo'}
        {elseif $tags[tags].keyword == 'license'}
        {elseif $tags[tags].keyword == 'copyright'}
        {elseif $tags[tags].keyword == 'filesource'}
        {elseif $tags[tags].keyword == 'link'}
        <li class="infoText link">{$tags[tags].data}</li>
        {elseif $tags[tags].keyword == 'version'}
        {/if}
        {/section}
    </ul>
{/if}